package cn.com.nes.site.service.workOrder.dto.callCenter;

import cn.hutool.core.collection.CollectionUtil;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 长效管护安装工单分页查询结果
 *
 * @Author: ShenWei
 * @Date: 2024/05/23/14:52
 */
@Data
public class WorkOrderInstallPageDTO {

    /**
     * 结果分页信息
     */
    private PageInfoDTO pageInfo;

    /**
     * 结果分页集合
     */
    private List<WorkOrderInstallItemDTO> list;


    public List<WorkOrderInstallItemDTO> getList() {
        if (CollectionUtil.isEmpty(this.list)) {
            return new ArrayList<>();
        }
        return list;
    }
}
